@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>休息信息管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="restName" name="名称" />
                            </div>
                            <!--<div class="col-sm-3">-->
                                <!--<#TimeCon id="dateTime" name="日期" isTime="false" pattern="YYYY-MM-DD " />-->
                            <!--</div>-->
                            <div class="col-sm-3">
                                <#TimeCon id="startTime" name="起始日期" isTime="false" pattern="YYYY-MM-DD " />
                            </div>
                            <div class="col-sm-3">
                                <#TimeCon id="endTime" name="结束日期" isTime="false" pattern="YYYY-MM-DD " />
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="DoorRestMessage.search()"/>
                            </div>

                        </div>
                        <div class="hidden-xs" id="DoorRestMessageTableToolbar" role="group">
                            @if(shiro.hasPermission("/doorRestMessage/add")){
                                <#button name="添加" icon="fa-plus" clickFun="DoorRestMessage.openAddDoorRestMessage()"/>
                            @}
                            @if(shiro.hasPermission("/doorRestMessage/update")){
                                <#button name="修改" icon="fa-edit" clickFun="DoorRestMessage.openDoorRestMessageDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/doorRestMessage/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="DoorRestMessage.delete()" space="true"/>
                            @}
                        </div>
                        <#table id="DoorRestMessageTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/restDay/doorRestMessage/doorRestMessage.js"></script>
<script>
    laydate.render({
        elem: '#dateTime',
        type: 'date'
    });
    laydate.render({
        elem: '#startTime',
        type: 'date'
    });
    laydate.render({
        elem: '#endTime',
        type: 'date'
    });
</script>
@}
